package com.gonsin.gmessage.example.po;

import com.alibaba.fastjson.annotation.JSONField;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

@ApiModel("话筒")
@Data
@ToString
public class S30000UnitPo {

    @ApiModelProperty("话筒的主键")
    private int id;

    @ApiModelProperty("话筒的身份，具体查看DevId")
    private int devid;

    @ApiModelProperty("话筒的状态")
    private int status;

    @ApiModelProperty("话筒的编号，即单元号")
    @JSONField(name = "write_num")
    @SerializedName("write_num")
    private int writeNum;

    @ApiModelProperty("话筒的名字")
    private String byname;

    @ApiModelProperty("话筒固件版本")
    @JSONField(name = "cc1310_ver")
    @SerializedName("cc1310_ver")
    private String cc1310Ver;

    @ApiModelProperty("话筒信号")
    private int rssi;

    @ApiModelProperty("话筒电池温度")
    @JSONField(name = "batterytemperature")
    @SerializedName("batterytemperature")
    private int batteryTemperature;

    @ApiModelProperty("话筒电池电压")
    private int voltage;

    @ApiModelProperty("话筒电池电流")
    @JSONField(name = "averagecurrent")
    @SerializedName("averagecurrent")
    private int averageCurrent;

    @ApiModelProperty("话筒电池电量")
    @JSONField(name = "remainingcap")
    @SerializedName("remainingcap")
    private int remainingCap;

    @ApiModelProperty("话筒剩余电量")
    @JSONField(name = "stateofcharge")
    @SerializedName("stateofcharge")
    private int stateOfCharge;

    @ApiModelProperty("话筒电池寿命")
    @JSONField(name = "stateofhealth")
    @SerializedName("stateofhealth")
    private int stateOfHealth;

    @ApiModelProperty("话筒的充电状态")
    @JSONField(name = "batChgDet")
    @SerializedName("batChgDet")
    private int batChgDet;

    @ApiModelProperty("话筒开咪状态 （0：关咪状态 1:开咪状态）")
    @JSONField(name = "mic_status")
    @SerializedName("mic_status")
    private int micStatus;

    @ApiModelProperty("话筒是否在等待列表标记（0：不在等待列表 1：在等待列表）")
    @JSONField(name = "wait_flag")
    @SerializedName("wait_flag")
    private int waitFlag;

    @ApiModelProperty("30000设备的uuid")
    private String uuid;

}
